<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="login">
    <meta name="author" content="TomKK">
    <title>首页</title>
    <style>
        #registerModal{
            top: 10%;
            overflow: scroll;
        }
    </style>
</head>
<body>
<!-- 静态导航条开始 -->
<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">
                <span class="glyphicon glyphicon-phone-alt" aria-hidden="true"></span> 校友通讯录
            </a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li class="active"><a href="#">注册</a></li>
                <li><a href="#" ng-click="goLogin()">登陆 </a></li>
            </ul>
        </div><!--/.nav-collapse -->
    </div>
</nav>
<!--静态导航条结束-->
<!--注册界面开始-->
<div id="registerModal" class="modal show" >
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h1 class="text-center text-primary">注册</h1>
            </div>
            <div class="modal-body">
                <form class="form col-md-12 center-block">
                    <div class="form-group">
                        <span class="hint">用户名:</span>
                        <input type="text" id="username" class="form-control input-lg" placeholder="账号" ng-model="user.username">
                    </div>
                    <div class="form-group">
                        <span class="hint">密码:</span>
                        <input type="password" class="form-control input-lg" placeholder="登录密码" ng-model="user.password">
                    </div>
                    <div class="form-group">
                        <span class="hint">重复密码:</span>
                        <input type="password" class="form-control input-lg" placeholder="重复密码" ng-model="repeatPassword">
                    </div>
                    <div class="form-group">
                        <span class="hint">真实姓名:</span>
                        <input type="text" class="form-control input-lg" placeholder="真实姓名" ng-model="user.realName">
                    </div>
                    <div class="form-group">
                        <span class="hint">身份证号码:</span>
                        <input type="text" class="form-control input-lg" placeholder="身份证号码" ng-model="user.idCardNum">
                    </div>
                    <div class="form-group">
                        <span class="hint">工作单位:</span>
                        <input type="text" class="form-control input-lg" placeholder="工作单位" ng-model="user.business">
                    </div>
                    <div class="form-group">
                        <span class="hint">入学年份:</span>
                        <input type="date" class="form-control input-lg" placeholder="入学年份" ng-model="user.enteryear">
                    </div>
                    <div class="form-group">
                        <span class="hint">班级:</span>
                        <input type="text" class="form-control input-lg" placeholder="班级" ng-model="user.classid">
                    </div>
                    <div class="form-group">
                        <span class="hint">手机号:</span>
                        <input type="tel" class="form-control input-lg" placeholder="手机号码" ng-model="user.mobile">
                    </div>
                    <div class="form-group">
                        <span class="hint">家庭住址:</span>
                        <input type="text" class="form-control input-lg" placeholder="家庭住址" ng-model="user.address">
                    </div>
                    <div class="form-group">
                        <span class="hint">邮编:</span>
                        <input type="text" class="form-control input-lg" placeholder="邮编" ng-model="user.zipcode">
                    </div>
                    <div class="form-group">
                        <span style="font-size: 20px;">照片：</span><input type="file" name="image" class=" input-lg" placeholder="照片" ng-model="user.image">
                    </div>
                    <div class="form-group">
                        <br>
                        <button class="btn btn-primary btn-lg btn-block" ng-click="regiser()">注册</button>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <myfooter></myfooter>
            </div>
        </div>
    </div>
</div>
<!--注册界面结束-->
</body>
</html>